Skip to content

West Midlands | Jan-2026 | Arunkumar Akilan | Sprint 2 | Form Controls#1085

Open
arunkumarakilan wants to merge 3 commits intoCodeYourFuture:mainfrom
arunkumarakilan:feature/form-controls
Open

West Midlands | Jan-2026 | Arunkumar Akilan | Sprint 2 | Form Controls#1085
arunkumarakilan wants to merge 3 commits intoCodeYourFuture:mainfrom
arunkumarakilan:feature/form-controls

Conversation

@arunkumarakilan
Copy link

@arunkumarakilan arunkumarakilan commented Jan 27, 2026

What does this PR do?

This PR completes the Form Controls task for Sprint 2.

The page includes a simple product selection form built using semantic HTML and accessibility best practices.


Changes made

  • Added a customer details section with name and email inputs
  • Grouped related inputs using <fieldset> and <legend>
  • Added product selection dropdowns for T-shirt colour and size
  • Used placeholder options instead of pre-selected values
  • Marked required fields clearly
  • Updated the footer with author name and exercise title

Testing

  • Opened the page in the browser
  • Tried submitting with missing required fields (Name / Email / T-shirt colour / Size) → browser blocked submission
  • Verified the select placeholders are disabled so the user must choose a valid option
  • Submitted successfully when all fields were completed with valid values

Self checklist

  • PR title follows Region | Cohort | Name | Sprint | Assignment format
  • Task requirements are met
  • Changes tested in browser
  • HTML is semantic and accessible

Questions for reviewer

  • Is the structure of the form clear and semantic?
  • Any suggestions to further improve accessibility?

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit aa6c481
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6984511825eabe0008995690
😎 Deploy Preview https://deploy-preview-1085--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

This comment has been minimized.

@arunkumarakilan arunkumarakilan changed the title West Midlands | Jan-2026 | Arunkumar Akilan | Sprint 1 | Form Controls West Midlands | Jan-2026 | Arunkumar Akilan | Sprint 2 | Form Controls Jan 27, 2026
@arunkumarakilan arunkumarakilan added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 27, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Have you fully tested your implementation to see if the user can submit the form when some of the input is missing?

  • A well-prepared PR makes it easier for reviewers to approve it with minimal back-and-forth.
    Can you take a look at this General Feedback to see if there
    is anything you can do to make your PR more robust and ready?
    Doing so can help speed up the review process.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 5, 2026
@arunkumarakilan arunkumarakilan added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants